package com.guohe3.just.common.enums;

/**
 * @author 浦希成
 * 2019-01-09
 */
public enum CrawTypeEnum {
    /**
     * 爬虫类型
     */
    NORMAL(1, "normal"),
    VPN(2, "vpn");

    private Integer code;
    private String name;


    CrawTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
